<%@page import="com.railway.notice.model.*" %>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/commons/taglibs.jsp" %>
<html>
<head> 
	<title><%=NoticeColumns.TABLE_ALIAS%>新增</title>
	<link type="text/css" rel="stylesheet"
			href="${ctx}/css/themes/default/easyui.css">
		<link type="text/css" rel="stylesheet"
			href="${ctx}/css/themes/icon.css">

		<link type="text/css" rel="stylesheet" href="${ctx}/css/default.css" />
		<script type="text/javascript"
			src="${ctx}/scripts/jquery-1.4.4.min.js"></script>
		<script type="text/javascript"
			src="${ctx}/scripts/jquery.easyui.min.js"></script>
		<script type="text/javascript" src="${ctx}/scripts/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript">

      function smtform(){

	 	form1.imgpath.value = form1.newsImg.value; 
	 	form1.submit();
	  }

</script>
</head>
<body>
	<form id="form1" action="${ctx}/notice/Notice/save.do" method="post">
		<input type="button"  value="提交" onclick="javascript:smtform();"/>
		<input type="button" value="返回列表" onclick="window.location='${ctx}/notice/Notice/list.do'"/>
		<input type="button" value="后退" onclick="history.back();"/>
		<input type="hidden" name="newsImg" value="" />
		<input type="hidden" name="imgpath" value="" />
		<table class="formTable">
			<input type="hidden" id="id" name="id" value="${model.id}"/>
		
		<!-- ONGL access static field: @package.class@field or @vs@field -->
			
			
			<tr>	
				<td class="tdLabel">
					<%=NoticeColumns.ALIAS_TITLE%>:
				</td>	
				<td>
				<input id="title" name="title" value="${model.title}"
				type="text"  class="easyui-validatebox"   />
				</td>
			</tr>	
			<tr>	
				<td class="tdLabel">
					<%=NoticeColumns.ALIAS_CONTENT%>:
				</td>	
				<td>			  
				<textarea id="content" name="content" value="${model.content}"  rows="12" cols="80" style="width: 80%"></textarea>
				</td>
			</tr>			
		    <tr>	
				<td class="tdLabel">
					<%=NoticeColumns.ALIAS_EXPIRE_TIME%>:
				</td>	
				<td>
				<input id="expiretimestring" name="expiretimestring" value="${model.expiretimestring}"
				type="text"  class= "easyui-datebox"    />
				</td>
			</tr>	
		</table>
	</form>
			<Iframe src="${ctx}/news/News/showNewsImg.do"  width="250"
			height="200" scrolling="no" frameborder="0">
	
</body>

</html>

